package com.primecodegen.common.DmObjProp;

import com.primecodegen.common.base.*;
import com.primecodegen.util.ComConstants;

/**
 *----------------------------------------------------------
 *----------------------------------------------------------
 * @author Mohammad Awwad
 * Version: v0.0
 * contact: mhmdawwad@gmail.com
 *-----------------------------------------------------------
 *-----------------------------------------------------------
 */
public class DmObjPropTable extends BaseTable {

    public DmObjPropTable() {
        init();
    }
    public DmObjPropOprCols Opr = new DmObjPropOprCols();
    // ------------Members------------------
    private int ID;
    private String value;
    private int objectProperties_ID;
    private int dataModelObject_ID;
    private String objPropCode;
    private String objPropType;
    private String objPropDescr;
    private String dmObjCode;

    // -----------Setters & Getters------------------
    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public int getObjectProperties_ID() {
        return objectProperties_ID;
    }

    public void setObjectProperties_ID(int objectProperties_ID) {
        this.objectProperties_ID = objectProperties_ID;
    }

    public int getDataModelObject_ID() {
        return dataModelObject_ID;
    }

    public void setDataModelObject_ID(int dataModelObject_ID) {
        this.dataModelObject_ID = dataModelObject_ID;
    }

    public String getDmObjCode() {
        return dmObjCode;
    }

    public void setDmObjCode(String dmObjCode) {
        this.dmObjCode = dmObjCode;
    }

    public String getObjPropCode() {
        return objPropCode;
    }

    public void setObjPropCode(String objPropCode) {
        this.objPropCode = objPropCode;
    }

    public String getObjPropDescr() {
        return objPropDescr;
    }

    public void setObjPropDescr(String objPropDescr) {
        this.objPropDescr = objPropDescr;
    }

    public String getObjPropType() {
        return objPropType;
    }

    public void setObjPropType(String objPropType) {
        this.objPropType = objPropType;
    }

    @Override
    public void init() {

        ID = ComConstants.UNREALISTIC_INT;
        value = ComConstants.UNREALISTIC_STRING;
        objectProperties_ID = ComConstants.UNREALISTIC_INT;
        dataModelObject_ID = ComConstants.UNREALISTIC_INT;
        objPropCode = ComConstants.UNREALISTIC_STRING;
        objPropType = ComConstants.UNREALISTIC_STRING;
        objPropDescr = ComConstants.UNREALISTIC_STRING;
        dmObjCode = ComConstants.UNREALISTIC_STRING;
    }
}
